package cn.yangliu.jpa.annotations.sql;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * The interface Jpa sql.
 *
 * @author 问道于盲
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface JpaSql {

    /**
     * Source sql string.
     *
     * @return the string
     */
    String sourceSql();

    /**
     * Result class class.
     *
     * @return the class
     */
    Class<?> resultClass() ;

}
